home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 27 / CDROM27.iso / share / progra / mai / Window, returning handle of Desktop < prev    next >
Encoding:
Text File  |  1997-07-16  |  269 b   |  8 lines

  1. 'Description: Returns HWND of desktop window
  2.  
  3. 'Private Declare Function M_GetDesktopWindow Lib "user32" Alias "GetDesktopWindow" () As Long
  4. 'Function GetDesktopWindow() As Long
  5. Dim xHwnd As Long
  6. xHwnd = M_GetDesktopWindow()
  7. GetDesktopWindow = xHwnd
  8. 'End Function